package com.yu.footballpromotionliveadmin.mapper;

import com.yu.footballpromotionliveadmin.pojo.ActivityType;
import com.yu.footballpromotionliveadmin.pojo.ActivityTypeExample;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ActivityTypeMapper {

    String getMaxUno();

    int deleteByKey(@Param("actno") String actno);

    int updateByPrimaryKey(@Param("record") ActivityType record);

    long countByExample(ActivityTypeExample example);

    int deleteByExample(ActivityTypeExample example);

    int insert(ActivityType record);

    int insertSelective(ActivityType record);

    List<ActivityType> getActivityTypeByPage(Map<String, Object> map);

    ActivityType selectByPrimaryKey(@Param("actno") String actno);

    List<ActivityType> selectByExample(ActivityTypeExample example);

    int updateByExampleSelective(@Param("record") ActivityType record, @Param("example") ActivityTypeExample example);

    int updateByExample(@Param("record") ActivityType record, @Param("example") ActivityTypeExample example);
}